import layoutRoute from "./layout-route.ts";
import {defineRoute} from "../../../ark/router/app-router.ts";

const homeRoute = {
  home: defineRoute({
    path: "/home",
    component: () => import("@/views/home/Home.vue"),
    meta: {
      title: "首页",
      allow: true
    },
    // 封装后的route将递归解析home为layout的children
    layout: layoutRoute.layout
  }),
}

export default homeRoute;